package me.luger.project.base.modules.sys.entity;


import me.luger.core.dao.nutz.entity.BaseEntity;
import org.nutz.dao.entity.annotation.*;
import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

@Table("sys_admin_user")
public class AdminUser extends BaseEntity implements Serializable{
private static final long serialVersionUID=1L;


    /**
     * 唯一ID
     */
    @Id
    @Column("id")
    @Comment("唯一ID")
    @ColDefine(type = ColType.INT, width = 10)
    private Integer id;
    /**
     * 登录用户名
     */
    @Column("userName")
    @Comment("登录用户名")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String userName;
    /**
     * 登录密码
     */
    @Column("password")
    @Comment("登录密码")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String password;

    public void setId(Integer id){
        this.id=id;
    }
    public Integer getId(){
        return this.id;
    }

    public void setUserName(String userName){
        this.userName=userName;
    }
    public String getUserName(){
        return this.userName;
    }

    public void setPassword(String password){
        this.password=password;
    }
    public String getPassword(){
        return this.password;
    }


}